namespace admin.application.Services
{
    public class ImageAppService
    {
        private readonly IAppImageService _appImageService;

        public ImageAppService(IAppImageService appImageService)
        {
            _appImageService = appImageService;
        }

        public async Task<string> UploadImageAsync(Stream fileStream, string extension)
        {
            return await _appImageService.SaveImageAsync(fileStream, extension);
        }
    }
} 